import { createStore, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import reducers from './reducers'

const middleware = [thunk]
export default createStore(
    reducers,
    applyMiddleware(...middleware)
)
